using System;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;

namespace Augustu.Models.WMS
{
    [Table("sku")]
    public class Sku : BaseModel
    {
[Column("Id")]
         public long  Id{ get; set;}

         /// <summary>
         /// sku编码
         /// </summary>
         [Comment("sku编码")]
         [Column("sku_code")]
         public string  SkuCode{ get; set;} = string.Empty;

         /// <summary>
         /// sku名称
         /// </summary>
         [Comment("sku名称")]
         [Column("sku_name")]
         public string  SkuName{ get; set;} = string.Empty;

         /// <summary>
         /// SpuId
         /// </summary>
         [Comment("SpuId")]
         [Column("spu_id")]
         public long  SpuId{ get; set;}

         /// <summary>
         /// 重量
         /// </summary>
         [Comment("重量")]
         [Column("weight")]
         public decimal  Weight{ get; set;}

         /// <summary>
         /// 长度
         /// </summary>
         [Comment("长度")]
         [Column("lenght")]
         public decimal  Lenght{ get; set;}

         /// <summary>
         /// 宽度
         /// </summary>
         [Comment("宽度")]
         [Column("width")]
         public decimal  Width{ get; set;}

         /// <summary>
         /// 高度
         /// </summary>
         [Comment("高度")]
         [Column("height")]
         public decimal  Height{ get; set;}

         /// <summary>
         /// 体积
         /// </summary>
         [Comment("体积")]
         [Column("volume")]
         public decimal  Volume{ get; set;}

         /// <summary>
         /// 记件单位
         /// </summary>
         [Comment("记件单位")]
         [Column("unit")]
         public int  Unit{ get; set;}

         /// <summary>
         /// 成本
         /// </summary>
         [Comment("成本")]
         [Column("cost")]
         public decimal  Cost{ get; set;}

         /// <summary>
         /// 单价
         /// </summary>
         [Comment("单价")]
         [Column("price")]
         public decimal  Price{ get; set;}
[Column("update_userId")]
         public string  UpdateUserid{ get; set;} = string.Empty;

    }
}
          
